package EmployeeAndHR;

public class Employee {
	
	protected String name;
	protected String ID;
	protected int salary;
	
	public Employee() {
		super();
	}
	
	public Employee(String name, String ID, int salary) {
		super();
		this.name = name;
		this.ID = ID;
		this.salary = salary;
	}
	
	@Override
	public String toString() {
		return "[name=" + name + ", ID=" + ID + ", salary=" + salary + "]";
	}

	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getID() {
		return ID;
	}
	public void setID(String iD) {
		ID = iD;
	}
	public int getSalary() {
		return salary;
	}
	public void setSalary(int salary) {
		this.salary = salary;
	}
	
}
